﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C05 RID: 3077
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MultiplayerFightGameStateScRsp : IMessage<MultiplayerFightGameStateScRsp>, IMessage, IEquatable<MultiplayerFightGameStateScRsp>, IDeepCloneable<MultiplayerFightGameStateScRsp>, IBufferMessage
	{
		// Token: 0x170026C5 RID: 9925
		// (get) Token: 0x06008989 RID: 35209 RVA: 0x0016E027 File Offset: 0x0016C227
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MultiplayerFightGameStateScRsp> Parser
		{
			get
			{
				return MultiplayerFightGameStateScRsp._parser;
			}
		}

		// Token: 0x170026C6 RID: 9926
		// (get) Token: 0x0600898A RID: 35210 RVA: 0x0016E02E File Offset: 0x0016C22E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MultiplayerFightGameStateScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170026C7 RID: 9927
		// (get) Token: 0x0600898B RID: 35211 RVA: 0x0016E040 File Offset: 0x0016C240
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MultiplayerFightGameStateScRsp.Descriptor;
			}
		}

		// Token: 0x0600898C RID: 35212 RVA: 0x0016E047 File Offset: 0x0016C247
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MultiplayerFightGameStateScRsp()
		{
		}

		// Token: 0x0600898D RID: 35213 RVA: 0x0016E05C File Offset: 0x0016C25C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MultiplayerFightGameStateScRsp(MultiplayerFightGameStateScRsp other) : this()
		{
			this.memberInfo_ = other.memberInfo_.Clone();
			this.dJNKCKJMNIL_ = ((other.dJNKCKJMNIL_ != null) ? other.dJNKCKJMNIL_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600898E RID: 35214 RVA: 0x0016E0B9 File Offset: 0x0016C2B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MultiplayerFightGameStateScRsp Clone()
		{
			return new MultiplayerFightGameStateScRsp(this);
		}

		// Token: 0x170026C8 RID: 9928
		// (get) Token: 0x0600898F RID: 35215 RVA: 0x0016E0C1 File Offset: 0x0016C2C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<MemberInfo> MemberInfo
		{
			get
			{
				return this.memberInfo_;
			}
		}

		// Token: 0x170026C9 RID: 9929
		// (get) Token: 0x06008990 RID: 35216 RVA: 0x0016E0C9 File Offset: 0x0016C2C9
		// (set) Token: 0x06008991 RID: 35217 RVA: 0x0016E0D1 File Offset: 0x0016C2D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MNFBAOKFOPM DJNKCKJMNIL
		{
			get
			{
				return this.dJNKCKJMNIL_;
			}
			set
			{
				this.dJNKCKJMNIL_ = value;
			}
		}

		// Token: 0x170026CA RID: 9930
		// (get) Token: 0x06008992 RID: 35218 RVA: 0x0016E0DA File Offset: 0x0016C2DA
		// (set) Token: 0x06008993 RID: 35219 RVA: 0x0016E0E2 File Offset: 0x0016C2E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06008994 RID: 35220 RVA: 0x0016E0EB File Offset: 0x0016C2EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MultiplayerFightGameStateScRsp);
		}

		// Token: 0x06008995 RID: 35221 RVA: 0x0016E0FC File Offset: 0x0016C2FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MultiplayerFightGameStateScRsp other)
		{
			return other != null && (other == this || (this.memberInfo_.Equals(other.memberInfo_) && object.Equals(this.DJNKCKJMNIL, other.DJNKCKJMNIL) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008996 RID: 35222 RVA: 0x0016E160 File Offset: 0x0016C360
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.memberInfo_.GetHashCode();
			if (this.dJNKCKJMNIL_ != null)
			{
				num ^= this.DJNKCKJMNIL.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008997 RID: 35223 RVA: 0x0016E1C3 File Offset: 0x0016C3C3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008998 RID: 35224 RVA: 0x0016E1CB File Offset: 0x0016C3CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008999 RID: 35225 RVA: 0x0016E1D4 File Offset: 0x0016C3D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Retcode);
			}
			if (this.dJNKCKJMNIL_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.DJNKCKJMNIL);
			}
			this.memberInfo_.WriteTo(ref output, MultiplayerFightGameStateScRsp._repeated_memberInfo_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600899A RID: 35226 RVA: 0x0016E240 File Offset: 0x0016C440
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.memberInfo_.CalculateSize(MultiplayerFightGameStateScRsp._repeated_memberInfo_codec);
			if (this.dJNKCKJMNIL_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.DJNKCKJMNIL);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600899B RID: 35227 RVA: 0x0016E2AC File Offset: 0x0016C4AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MultiplayerFightGameStateScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.memberInfo_.Add(other.memberInfo_);
			if (other.dJNKCKJMNIL_ != null)
			{
				if (this.dJNKCKJMNIL_ == null)
				{
					this.DJNKCKJMNIL = new MNFBAOKFOPM();
				}
				this.DJNKCKJMNIL.MergeFrom(other.DJNKCKJMNIL);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600899C RID: 35228 RVA: 0x0016E325 File Offset: 0x0016C525
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600899D RID: 35229 RVA: 0x0016E330 File Offset: 0x0016C530
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					if (num != 90U)
					{
						if (num != 114U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.memberInfo_.AddEntriesFrom(ref input, MultiplayerFightGameStateScRsp._repeated_memberInfo_codec);
						}
					}
					else
					{
						if (this.dJNKCKJMNIL_ == null)
						{
							this.DJNKCKJMNIL = new MNFBAOKFOPM();
						}
						input.ReadMessage(this.DJNKCKJMNIL);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400348C RID: 13452
		private static readonly MessageParser<MultiplayerFightGameStateScRsp> _parser = new MessageParser<MultiplayerFightGameStateScRsp>(() => new MultiplayerFightGameStateScRsp());

		// Token: 0x0400348D RID: 13453
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400348E RID: 13454
		public const int MemberInfoFieldNumber = 14;

		// Token: 0x0400348F RID: 13455
		private static readonly FieldCodec<MemberInfo> _repeated_memberInfo_codec = FieldCodec.ForMessage<MemberInfo>(114U, EggLink.DanhengServer.Proto.MemberInfo.Parser);

		// Token: 0x04003490 RID: 13456
		private readonly RepeatedField<MemberInfo> memberInfo_ = new RepeatedField<MemberInfo>();

		// Token: 0x04003491 RID: 13457
		public const int DJNKCKJMNILFieldNumber = 11;

		// Token: 0x04003492 RID: 13458
		private MNFBAOKFOPM dJNKCKJMNIL_;

		// Token: 0x04003493 RID: 13459
		public const int RetcodeFieldNumber = 5;

		// Token: 0x04003494 RID: 13460
		private uint retcode_;
	}
}
